package org.lq.ssm.service;

import org.lq.ssm.dto.PermissionDTO;
import org.lq.ssm.dto.UserDTO;
import org.lq.ssm.po.UserPO;

import java.util.List;

public interface UserService {
    UserDTO login(String username, String password);

    List<UserDTO> getAllUser(int level,long id);

    void addUser(UserDTO userDTO);

    public List<String> allRolesToPermissionName(UserDTO userDTO);
}
